<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=no"  >
    <title></title>
    <!-- <script src="./static/viewport-units-buggyfill_hacks.min.js"></script> -->
</head>
<body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
</body>
<script>
    var _ua = navigator.userAgent;
    var _res = _ua.match(/Android\s(\d\.\d)/i);
    //延迟是给更老版本（小于 4.4）的android用的
    if (_res && _res[1] && _res[1] <= 4.4) {
        var _app = document.getElementsByTagName('body')[0];
        _app.style.display = 'none';
        window.onload = function () {
            setTimeout(function () {
                window.viewportUnitsBuggyfill.init({
                    hacks: window.viewportUnitsBuggyfillHacks
                });
                setTimeout(function () {
                    _app.style.display = 'block';
                },20)
            }, 300)
        }
    }
</script>
</html>
